import http from '@/utils/request.js'
import Vue from 'vue'

// 获取登录信息
export let getLogin = (data) => {
	return http.request({
		url: '/users/login',
		data:data
	})
}

// 
export let getUserInfo = (data) => {
	return http.request({
		method: 'post',
		url: '/users/userinfo',
		data
	})
}
//获取古诗
export let getVerse = () => {
	return http.request({
		url: '/tools/verse'
	})
}